import { Fragment, Component } from "react";
import Default from "../pages/default/index";
import Index from '../pages/index/index'
import { BrowserRouter, Route, Routes } from "react-router-dom";

export default class index extends Component {
  render() {
    return (
      <Fragment>
        <BrowserRouter>
          <Routes>
            <Route path="" element={<Default />} />
            <Route path="/index" element={<Index />} />
          </Routes>
        </BrowserRouter>
      </Fragment>
    );
  }
}
